package com.fit.dao.project;

import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;

import com.fit.entities.Project;

public interface ProjectDAO {
	
	@CommitAfter
	public boolean save(Project newProject);

	@CommitAfter
	public boolean delete(Project project);

	@CommitAfter
	public boolean update(Project project);

	public List<Project> findAll();
	
	public Project findByID(Long id);

	@CommitAfter
	public boolean deleteByID(Long id);

}
